package com.ninong.ker.admin.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;

import java.io.Serializable;
import java.util.Date;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 系统-租户用户关系表
 *
 * @author 鸠摩智
 * @date 2021-05-27 10:48:51
 */
@Data
@TableName("fw_tenant_user")
@AllArgsConstructor
@NoArgsConstructor
public class FwTenantUser implements Serializable {

    private static final long serialVersionUID = 1L;


    /**
     * 租户id
     */
    @TableField("tenant_id")
    private String tenantId;


    /**
     * 用户id
     */
    @TableField("user_id")
    private String userId;


    /**
     * 是否管理员
     */
    @TableField("has_manager")
    private Boolean hasManager;


}
